package com.yf.tz.dao;

import com.yf.tz.entity.MallSkuItemEntity;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 产品规格组Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Jul 15 14:48:11 CST 2020
 */
@Mapper
public interface MallSkuItemDao extends BaseDao<MallSkuItemEntity> {

    /**

        List<MallSkuItemVo> queryListVo(MallSkuItemVo mallSkuItemVo);

        MallSkuItemVo getVo(Long id);

    **/

    void deleteByGoods(Long goodsId);

    void insertByList(@Param("list") List<MallSkuItemEntity> list, @Param("goodsId") Long goodsId);

    List<MallSkuItemEntity> findByGoodsId(Long goodsId);
}
